#include "Objects.h"

/*======|Instantiation|=========*/
Rock::Rock()
	:BaseObject()
	,m_fVelocityX(5)
{}

Rock::Rock(float x,float y,float xVel,float yVel)
	:BaseObject(x,y,0,0,true,ROCK_TYPE)
	,m_fVelocityX(xVel)
	,m_fVelocityY(yVel)
{}
/*======|Update|================*/
void Rock::Update()
{
	m_vPosition.x += m_fVelocityX;
	m_vPosition.y -= m_fVelocityY;
}
/*======|Deconstruct|===========*/
Rock::~Rock(){}